package dao;

import java.util.HashMap;

import org.w3c.dom.Document;

import utility.Util_Trading;

public class EndItemDAO {
	
	private String endTime;
	
	public static String endItem(String id) {
		HashMap<String,String> data=new HashMap<String,String>();
		data.put("ItemID", id);
		Document response = Util_Trading.sendRequest("EndItem.txt", data);
			
		String ack = Util_Trading.xmlGet(response, "Ack");
		
		return ack;
	}
	
}
 